package cn.iocoder.yudao.module.crossborder.order.controller.admin.orderstatuslog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 跨境电商订单状态流转分页 Request VO")
@Data
public class OrderStatusLogPageReqVO extends PageParam {

    @Schema(description = "订单编号", example = "1084")
    private Long orderId;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "状态类型（order/payment/fulfillment）", example = "2")
    private String statusType;

    @Schema(description = "原状态", example = "2")
    private Integer oldStatus;

    @Schema(description = "新状态", example = "1")
    private Integer newStatus;

    @Schema(description = "原状态名称", example = "芋艿")
    private String oldStatusName;

    @Schema(description = "新状态名称", example = "芋艿")
    private String newStatusName;

    @Schema(description = "变更原因", example = "不喜欢")
    private String changeReason;

    @Schema(description = "变更来源")
    private String changeSource;

    @Schema(description = "操作员编号", example = "19135")
    private Long operatorId;

    @Schema(description = "操作员姓名", example = "赵六")
    private String operatorName;

    @Schema(description = "操作员类型（1系统用户 2客户 3系统自动）", example = "1")
    private Integer operatorType;

    @Schema(description = "变更时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] changeTime;

    @Schema(description = "附加数据JSON")
    private String additionalData;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}